package homework.June_02;

public class Animal_Normal_method_call {
    public static void main(String[] args) {
        System.out.println("---------正常方法调用---------");
        Animal animal = new Animal();
        animal.eat();

        Cat cat = new Cat();
        cat.eat();

        Dog dog = new Dog();
        dog.eat();
    }
}
